package com.bootdo.program.shejiao.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.shejiao.dao.BalanceRecordDao;
import com.bootdo.program.shejiao.domain.BalanceRecordDO;
import com.bootdo.program.shejiao.service.BalanceRecordService;



@Service
public class BalanceRecordService {
	@Autowired
	private BalanceRecordDao balanceRecordDao;
	
	
	public BalanceRecordDO get(Long id){
		return balanceRecordDao.get(id);
	}
	
	
	public List<BalanceRecordDO> list(Map<String, Object> map){
		return balanceRecordDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return balanceRecordDao.count(map);
	}
	
	
	public int save(BalanceRecordDO balanceRecord){
		return balanceRecordDao.save(balanceRecord);
	}
	
	
	public int update(BalanceRecordDO balanceRecord){
		return balanceRecordDao.update(balanceRecord);
	}
	
	
	public int remove(Long id){
		return balanceRecordDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return balanceRecordDao.batchRemove(ids);
	}
	
}
